import { getToken } from "@/utils/cookies";
import router from "./index"
router.beforeEach((to, from) => {
  if (!getToken()) {
    if (to.name !== 'Login') {
      return {
        name: "Login"
      }
    }
  }
});

router.afterEach((to, from) => {

})